import { request } from '../utils/index'

export function getUserInfo() {
  return request('http://127.0.0.1:8001/app/user/info/person')
}

export function updatePerson(data) {
  return request("http://127.0.0.1:8001/app/user/info/updatePerson", data, 'POST')
}